[INFO] cloning repository https://github.com/wrchipman/rust-p2p-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wrchipman/rust-p2p-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwrchipman%2Frust-p2p-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwrchipman%2Frust-p2p-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 32003d5de6b9dfb528f2cc3b390e21dd00fd980c
[INFO] documenting wrchipman/rust-p2p-example against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwrchipman%2Frust-p2p-example" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wrchipman/rust-p2p-example on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wrchipman/rust-p2p-example
[INFO] finished tweaking git repo https://github.com/wrchipman/rust-p2p-example
[INFO] tweaked toml for git repo https://github.com/wrchipman/rust-p2p-example written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/wrchipman/rust-p2p-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 213460dc635e57ec6b90a800d9fa292f10f787f04630a9f55deae6fd9ad57863
[INFO] running `Command { std: "docker" "start" "-a" "213460dc635e57ec6b90a800d9fa292f10f787f04630a9f55deae6fd9ad57863", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "213460dc635e57ec6b90a800d9fa292f10f787f04630a9f55deae6fd9ad57863", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "213460dc635e57ec6b90a800d9fa292f10f787f04630a9f55deae6fd9ad57863", kill_on_drop: false }`
[INFO] [stdout] 213460dc635e57ec6b90a800d9fa292f10f787f04630a9f55deae6fd9ad57863
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 924c24454af9e298885daeca0e00f5c3c7a700df1ae83c467cefb7af63edadd2
[INFO] running `Command { std: "docker" "start" "-a" "924c24454af9e298885daeca0e00f5c3c7a700df1ae83c467cefb7af63edadd2", kill_on_drop: false }`
[INFO] [stderr]  Documenting rust-p2p-example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: character literal may only contain one codepoint
[INFO] [stdout]  --> src/main.rs:3:81
[INFO] [stdout]   |
[INFO] [stdout] 3 | type Result<T> = std::result::Result<T, Box<dyn std:error:Error + Send + Sync + 'static'>>;
[INFO] [stdout]   |                                                                                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if you meant to write a `str` literal, use double quotes
[INFO] [stdout]   |
[INFO] [stdout] 3 | type Result<T> = std::result::Result<T, Box<dyn std:error:Error + Send + Sync + "static">>;
[INFO] [stdout]   |                                                                                 ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,` or `>`, found `:`
[INFO] [stdout]  --> src/main.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | type Result<T> = std::result::Result<T, Box<dyn std:error:Error + Send + Sync + 'static'>>;
[INFO] [stdout]   |                                                    ^ expected one of `,` or `>`
[INFO] [stdout]   |
[INFO] [stdout] help: expressions must be enclosed in braces to be used as const generic arguments
[INFO] [stdout]   |
[INFO] [stdout] 3 | type Result<T> = std::result::Result<T, Box<{ dyn std:error:Error + Send + Sync + 'static' }>>;
[INFO] [stdout]   |                                             +                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected pattern, found `}`
[INFO] [stdout]   --> src/main.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | }
[INFO] [stdout]    | ^ expected pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected end of input, expected one of: `::`, `<`, `_`, literal, `const`, `ref`, `mut`, `&`, parentheses, square brackets, `..`, `const`
[INFO] [stdout]   --> src/main.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | }
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/main.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Serialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/main.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Deserialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/main.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Serialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/main.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Deserialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Serialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/main.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Deserialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/main.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Serialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/main.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this derive macro:
[INFO] [stdout]            serde::Deserialize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity`
[INFO] [stdout]  --> src/main.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | static KEYS: Lazy<identity::Keypair> = Lazy::new(|| identity::Keypair::generate_ed25519());
[INFO] [stdout]   |                   ^^^^^^^^ use of undeclared crate or module `identity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope
[INFO] [stdout]  --> src/main.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | static KEYS: Lazy<identity::Keypair> = Lazy::new(|| identity::Keypair::generate_ed25519());
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy`
[INFO] [stdout]  --> src/main.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 | static KEYS: Lazy<identity::Keypair> = Lazy::new(|| identity::Keypair::generate_ed25519());
[INFO] [stdout]   |                                        ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | static PEER_ID: Lazy<PeerId> = Lazy::new(|| PeerId::from(KEYS.public()));
[INFO] [stdout]   |                 ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | static PEER_ID: Lazy<PeerId> = Lazy::new(|| PeerId::from(KEYS.public()));
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libp2p::PeerId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy`
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | static PEER_ID: Lazy<PeerId> = Lazy::new(|| PeerId::from(KEYS.public()));
[INFO] [stdout]   |                                ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Lazy` in this scope
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | static TOPIC: Lazy<Topic> = Lazy::new(|| Topic::new("recipes"));
[INFO] [stdout]   |               ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Topic` in this scope
[INFO] [stdout]  --> src/main.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | static TOPIC: Lazy<Topic> = Lazy::new(|| Topic::new("recipes"));
[INFO] [stdout]   |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy`
[INFO] [stdout]  --> src/main.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | static TOPIC: Lazy<Topic> = Lazy::new(|| Topic::new("recipes"));
[INFO] [stdout]   |                             ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::sync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use once_cell::unsync::Lazy;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `rust-p2p-example`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name rust_p2p_example src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=7971f5d5445a069b -L dependency=/opt/rustwide/target/debug/deps --extern libp2p=/opt/rustwide/target/debug/deps/liblibp2p-c144dd3e2a559c27.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-8ef3a8f55edcda85.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-88ef809ea5bdbc77.rmeta --extern pretty_env_logger=/opt/rustwide/target/debug/deps/libpretty_env_logger-8cdb8feddbd2e4b5.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-6258848062028e86.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-5b17cc61cf3fe5ae.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-89f3a8e4c4e3a597.rmeta --cap-lints=allow -Zunstable-options -wjson --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "924c24454af9e298885daeca0e00f5c3c7a700df1ae83c467cefb7af63edadd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "924c24454af9e298885daeca0e00f5c3c7a700df1ae83c467cefb7af63edadd2", kill_on_drop: false }`
[INFO] [stdout] 924c24454af9e298885daeca0e00f5c3c7a700df1ae83c467cefb7af63edadd2
